﻿using System;
using System.Data;
namespace OnlineManagement.IDAL
{
    /// <summary>
    /// 接口层HybridizationRecord
    /// </summary>
    public interface IHybridizationRecord
    {
        #region 扩展方法

        DataSet GetHybridizationSow(int hoggeryId);

        Model.SowInfoForHybrizationRecord GetHybridizationSowBasicInfo(int hoggeryId, Guid sowId);

        bool SowHybrizationAddOrUpdate(Model.HybridizationRecord record, out string returnValue);
        bool SowHybrizationAddOrUpdate(System.Collections.Generic.List<Model.HybridizationRecord> records, out string returnValue);

        bool SowPregnancyRecord(int hoggeryId, Guid sowId,int isFanQing, DateTime updateDate, out string returnValue);

        bool SowAbortion(int hoggeryId,Guid sowId,out string returnValue);

        DataSet GetSowHybrizationRecords(int hoggeryId, Guid sowId, bool isHybridizateDone);
        #endregion
    } 
}
